package org.lhl.readruler

import android.app.Application
import android.util.Log
import com.blankj.utilcode.util.Utils
import io.reactivex.plugins.RxJavaPlugins

/**
 * Created by luohaolun.
 * Date: 2019/6/18
 */
lateinit var mApp: Application

class APP : Application() {
    override fun onCreate() {
        super.onCreate()
        mApp = this
        Utils.init(this)
        RxJavaPlugins.setErrorHandler { throwable -> Log.e("RxError", "" + throwable) }
    }
}